<?php defined('IN_IA') or exit('Access Denied');?> <?php (!empty($this) && $this instanceof WeModuleSite) ? (include $this->template('pc_header', TEMPLATE_INCLUDEPATH)) : (include template('pc_header', TEMPLATE_INCLUDEPATH));?>
<link rel="stylesheet" type="text/css" href="<?php echo MODULE_URL;?>template/mobile/app/css/screen_lottory_free.css">
<script type="text/javascript">
    var PATH_ACTIVITY = '';
</script>
<script src="<?php echo MODULE_URL;?>template/mobile/app/js/lotter_free_base.js" type="text/javascript" charset="utf-8"></script>
<script src="<?php echo MODULE_URL;?>template/mobile/app/js/screen_lottory_free.js?t=<?php  echo time()?>" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="<?php echo MODULE_URL;?>template/mobile/app/css/spinners.css" type="text/css">
</head>
<body class="FUN LOTTERY_FREE" <?php  if(!empty($basic_config['bg_vedio'])) { ?>data-vide-bg="<?php  echo tomedia($basic_config['bg_vedio'])?>"<?php  } ?>>
<style>
#poptip { position: fixed; top:40%;left:50%;width:300px;margin-left:-150px;height: 150px;background: rgba(255, 255, 255, 0.4); opacity: 0.6;filter:alpha(opacity=0.6); color:#fff;z-index: 999;  border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;}
#poptip_content { position: fixed; top:40%;left:50%;width:300px;margin-left:-150px; height: 27px; color:#fff;text-align:center;font-size:14px;z-index: 9909;text-align:center;line-height:150px}
</style>
<div id="loading" style="display:none">
<div id="poptip"></div>
<div id="poptip_content">
	<div class="dots-loader"> Loading… </div>
</div>
</div>
<?php (!empty($this) && $this instanceof WeModuleSite) ? (include $this->template('top_panel', TEMPLATE_INCLUDEPATH)) : (include template('top_panel', TEMPLATE_INCLUDEPATH));?>
<div class="Panel Lottery"  >
    <div class="lottery-left">
        <div class="lottery-title"><span class="title-label">幸运奖抽奖</span><span class="usercount-label">2人</span></div>
        <div class="lottery-run">
            <div class="user">
                <span class="nick-name"></span>
            </div>
            <div class="user">
                <span class="nick-name"></span>
            </div>
            <div class="user">
                <span class="nick-name"></span>
            </div>
            <div class="user">
                <span class="nick-name"></span>
            </div>
            <div class="user">
                <span class="nick-name"></span>
            </div>
            <div class="user">
                <span class="nick-name"></span>
            </div>
            <div class="user">
                <span class="nick-name"></span>
            </div>
            <div class="user">
                <span class="nick-name"></span>
            </div>
            <div class="user">
                <span class="nick-name"></span>
            </div>
            <div class="user">
                <span class="nick-name"></span>
            </div>
        </div>
        <div class="lottery-bottom">
            <div class="round-num">
				<input id="tag_num" type="hidden" value="100" />
                <div class="select-panel" style="font-size:15px;">
					<div style="display:inline-block">选择奖项:</div>
					<select name="luckTag" id="tagid" onchange="changeLuck(this.value);">
							<option value="13" selected>幸运奖</option>
					</select>
					<div style="display:inline-block;margin-left:20px;">选择人数:</div>
                    <!--div class="select-button minus">-</div>
                    <div class="select-value">1</div>
                    <div class="select-button plus">+</div-->
					<select id="num">
						<option value="10" selected>10</option>
					</select>
                </div>
            </div>
            <!--<div class="button-showresult">全部结果</div>-->
            <div class="control button-run" style="display: block;">开始抽奖</div>
            <div class="control button-stop" style="display: none;">停止抽奖</div>
            <div class="control button-nextround" style="display: none;">下一轮</div>
            <!-- 
            <div class="button-reload" onclick="javascript:window.location.reload();">重新加载</div>
             -->
        </div>

    </div>
    <div class="lottery-right" style="height:88%">
        <div class="result-line">
            <div class="result-num">1</div>
			<i class="delLottery"></i>
        </div>
    </div>
	<div class="control2" style="">
	<div id="newLuckButton" onclick="reset()">重新抽奖</div>
	</div>
	<style>
	.del_act{display:block}
	.control2 {
		width: 36%;
	    height: 50px;
	    position: relative;
	    float: left;
	    background-color: rgba(255, 255, 255, 0.2);
	    border: 1px solid rgba(255, 255, 255, 0.4);
		border-top:0px;
	    padding: 3px;
	    overflow: auto;
	}
	</style>
</div>
<script>
$(function(){
	$(document).on("mouseenter", ".result-line", function () {
		$(this).find('i').addClass("del_act");
   });
   $(document).on("mouseleave", ".result-line", function () {
		$(this).find('i').removeClass("del_act");
   });
	
});

</script>
<?php (!empty($this) && $this instanceof WeModuleSite) ? (include $this->template('pc_footer', TEMPLATE_INCLUDEPATH)) : (include template('pc_footer', TEMPLATE_INCLUDEPATH));?>